package com.irdstudio.efp.flow.service.facade;

import java.util.List;

import com.irdstudio.efp.flow.service.vo.BizFlowRouteVO;

/**
 * <p>Description:业务流转路由信息				<p>
 * @author ligm
 * @date 2018-05-05
 */
public interface BizFlowRouteService {
	
	public List<BizFlowRouteVO> queryAllOwner(BizFlowRouteVO bizFlowRouteVo);
	
	public List<BizFlowRouteVO> queryAllCurrOrg(BizFlowRouteVO bizFlowRouteVo);
	
	public List<BizFlowRouteVO> queryAllCurrDownOrg(BizFlowRouteVO bizFlowRouteVo);
	
	public int insertBizFlowRoute(BizFlowRouteVO inBizFlowRouteVo);
	
	public int deleteByPk(BizFlowRouteVO bizFlowRouteVo);
	
	public int updateByPk(BizFlowRouteVO bizFlowRouteVo);
	
	public BizFlowRouteVO queryByPk(BizFlowRouteVO bizFlowRouteVo);
	
	public List<BizFlowRouteVO> queryAllBySourceNodeId(BizFlowRouteVO bizFlowRouteVo);
	
	/**
	 * 根据事件ID查询对应的route信息
	 * @param eventId
	 * @return
	 */
	public List<BizFlowRouteVO> queryAllByEventId(String flowId, String eventId);

}
